$OpenBSD: patch-libgnome-desktop_gnome-desktop-thumbnail_c,v 1.9 2017/04/17 09:35:37 ajacoutot Exp $

XXX push upstream
gnome-desktop-thumbnail.c:1507: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'

--- libgnome-desktop/gnome-desktop-thumbnail.c.orig	Mon Feb 13 23:54:01 2017
+++ libgnome-desktop/gnome-desktop-thumbnail.c	Mon Apr 17 11:30:59 2017
@@ -1217,7 +1217,7 @@ save_thumbnail (GdkPixbuf  *pixbuf,
     goto out;
   close (tmp_fd);
 
-  g_snprintf (mtime_str, 21, "%ld",  mtime);
+  g_snprintf (mtime_str, 21, "%lld",  mtime);
   width = gdk_pixbuf_get_option (pixbuf, "tEXt::Thumb::Image::Width");
   height = gdk_pixbuf_get_option (pixbuf, "tEXt::Thumb::Image::Height");
 
